package com.jiantong.work.service.yangzhibaoxian;

/**
 * Created by ThinkPad on 2017/9/5.
 */


import com.jiantong.work.model.yangzhibaoxian.InsuranceArea;
import io.terminus.common.model.Paging;
import io.terminus.common.model.Response;


import java.util.List;
import java.util.Map;

/**
 * 保险员工负责区域表
 */

public interface InsuranceAreaService {
    Response<InsuranceArea> findById(Long id);

    Response<List<InsuranceArea>> findByIds(List ids);

    Response<List<InsuranceArea>> list(Map map);

    Response<Paging<InsuranceArea>> ping(Integer offset, Integer limit, Map map);

    Boolean update(InsuranceArea insuranceArea);

    Long create(InsuranceArea insuranceArea);

    Integer creates(List<InsuranceArea> insuranceAreaList);
    InsuranceArea findByAreaCode  (String area);

}
